package com.ocom.common.entity.pay;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "xf_record_process_extend")
public class EntityXfRecordProcessExtend  implements Serializable {

  private static final long serialVersionUID = -2288645321840360105L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private Long comId;
  private Long orderId;

  private String orderNo;

  //0:无操作，1:请求撤单，2:请求退款，11∶撤单成功，12:退款成功
  //业务逻辑:
  //101:撤单中，201:退款中
  private Integer cancelState;

  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private Date createTime;

  private Integer receiptPrice;
}
